import java.util.Scanner;

public class Text {
    public static void main(String[] args) {

    }
    public static void main8(String[] args) {

        int[] a = {1,7,9,11,13,15,17,19};
        int[] b = {2,4,6,8,10};
        int[] c = new int[(a.length + b.length)];
        int j =0;
        for(int i =0;i <  a.length;i++) {
            c[i] = a[j];
            j++;
        }
        int o =0;
        for(int i = a.length;i < c.length;i++) {
            c[i] = b[o];
            o++;
        }
        for(int i = 0;i< c.length;i++){
            System.out.print(c[i] + " ");
        }
    }
    public static void main7(String[] args) {
        int[] oldAdd = {1,3,4,5,0,0,6,6,0,5,4,7,6,7,0,5};
        int[] array = new int[oldAdd.length];
        int count = 0;
        for(int i = 0;i < oldAdd.length;i++) {
            if(oldAdd[i] != 0) {
                array[count] = oldAdd[i];
                count++;
            }
        }
        for(int i = 0;i< array.length;i++) {
            if(array[i] == 0) {
                break;
            }
            System.out.print(array[i] + " ");
        }
    }
    public static void main6(String[] args) {
        int[] array = new int[] {1,2,3,4,5,6};
        int l = 0;
        int r = array.length - 1;
        while(l < r) {
            int tmp = array[r];
            array[r] = array[l];
            array[l] = tmp;
            l++;
            r--;
        }
        for(int i = 0;i <array.length;i++) {
            System.out.print(array[i] + " ");
        }
    }
    public static void main5(String[] args) {
        Scanner scan = new Scanner(System.in);
        //在此输入您的代码...
        int n = scan.nextInt();
        int k = scan.nextInt();
        int[] array = new int[n];
        for(int i = 0;i<array.length;i++) {
            array[i] = scan.nextInt();
        }
        int count = 0;
        for(int x = 0 ;x < n - 1;x++) {
            for(int y = x+1;y < n;y++) {
                if((array[x] - array[y]) == k || (array[x] - array[y]) == (-k)) {
                    count++;
                }
            }

        }
            System.out.print(count);
    }


    public static void main4(String[] args) {
            Scanner scan = new Scanner(System.in);
            //在此输入您的代码...
            int n = scan.nextInt();
            int[] array = new int[n];
            for(int i = 0;i<n;i++) {
                array[i] = scan.nextInt();
            }
            for(int i = 0;i <n ; i++) {
                System.out.print(array[i]);
            }
    }

    public static void main3(String[] args) {
        Scanner scanner = new Scanner(System.in);
        //在此输入您的代码...
        String ret1 = scanner.next();
        String ret2 = scanner.next();
        int[] array = new int[27];
        for(int i = 0;i< ret1.length();i++) {
            int ch1 = ret1.charAt(i);
            array[ch1 - 'a']++;
        }
        for(int i = 0;i< ret2.length();i++) {
            int ch2 = ret2.charAt(i);
            array[ch2 - 'a']++;
        }
        for(int i = 0;i<array.length;i++) {
            if(array[i] == 1) {
                System.out.printf("%c",'a'+i);
            }
        }
    }
    public static void main2(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int f = scanner.nextInt();
        int c =   5 * (f - 32)/ 9;
        System.out.println("Celsius = " + c);
    }
    public static void main1(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int[] array = new int[10];
        while(n > 0) {
            int fn = n % 10;
                array[fn]++;
            n /= 10;
        }
        for(int i = 0;i<array.length;i++) {
            if(array[i] != 0) {
                System.out.println( i+":" + array[i]);
            }
        }
    }
}
